home *** CD-ROM | disk | FTP | other *** search
/ VisualFX for ImageFX / VisualFX for Image FX 2.adf / Files / SetUp / 02 / 03.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  1997-01-23  |  1.2 KB  |  52 lines

  1. /*
  2.                                  Visual FX
  3.                                     For
  4.                                  Image FX
  5.                                SetUp Script
  6.                            Written By J.L. White
  7.  
  8.                          (C)1997 Merlin's Software
  9.  
  10. */
  11. parse arg Num
  12. options results
  13. address "IMAGEFX.1"
  14.  
  15.  
  16.  
  17.     Gadget.1 = 'Select Mode To Fade With!'
  18.     Gadget.2 = 'Emboss'
  19.     Gadget.3 = 'SobelEdge'
  20.     Gadget.4 = 'Grey Scale'
  21.     Gadget.5 = 'Negative'
  22.     Gadget.6 = 'Neon Art'
  23.     Gadget.7 = 'Antique'
  24.     Gadget.8 = 'Apply Texture'
  25.     Gadget.9 = 'Contrast & Gamma'
  26.     Gadget.10 = 'Contrast'
  27.     Gadget.11 = 'Gamma'
  28.     ListRequest 11 Gadget
  29.     Type = 2
  30.     if result = 2 then Type = 0
  31.     if result = 3 then Type = 1
  32.     if result = 4 then Type = 2
  33.     if result = 5 then Type = 3
  34.     if result = 6 then Type = 4
  35.     if result = 7 then Type = 5
  36.     if result = 8 then Type = 6
  37.     if result = 9 then Type = 7
  38.     if result = 10 then Type = 8
  39.     if result = 11 then Type = 9
  40.  
  41.     Texture = ""
  42.     if Type = 6 then do
  43.         RequestFile '"Select File To Use For Texture!" "IMAGEFX:Textures" ""'
  44.         Texture = result
  45.  
  46.         end
  47.  
  48. call open TempFile,"VFXIFX:TempDrawer/"strip(Num),W
  49. call writeln TempFile,Type
  50. call writeln TempFile,Texture
  51. call close TempFile
  52.